Ext.define('Hi.view.report.VCandidatesFilter', {
    extend: 'Ext.form.Panel',
    frame: true,
    height: 50,
    id: 'candidatesFilterForm',
    items: [
        {
            boxLabel: 'Ver referidos',
            id: 'chkisrefer',
            inputValue: '1',            
            name: 'isrefer',
            xtype: 'checkbox',
            listeners: {
                change: function(chk, nVal, oVal, opts){
                        
                    var grid = Ext.getCmp('candidatesGrid');
                    grid.getStore().load({
                        params: {
                            isrefer: nVal
                        }
                    });                        
                    
                }
            }            
        }
    ]
});

